package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车间设备对象 my_equipment
 * 
 * @author ruoyi
 * @date 2023-12-18
 */
public class MyEquipment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备id */
    private Long id;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String equipname;

    /** 部门id */
    @Excel(name = "部门id")
    private Long equipid;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEquipname(String equipname) 
    {
        this.equipname = equipname;
    }

    public String getEquipname() 
    {
        return equipname;
    }
    public void setEquipid(Long equipid) 
    {
        this.equipid = equipid;
    }

    public Long getEquipid() 
    {
        return equipid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("equipname", getEquipname())
            .append("equipid", getEquipid())
            .toString();
    }
}
